Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 0f4020061d7b84ad335dd8addffbb6f8be3d24df


Parents : e912d52
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-07-04T05:14:14-05:00

fix(ci): specify python platform for macOS dependency installation to ensure compatibility with arm64 hosts

Changes

1 files changed, 2 insertions(+), 1 deletions(-)


Diff

diff --git a/scripts/ci/github-install-macos-x64-python-deps.sh b/scripts/ci/github-install-macos-x64-python-deps.sh
index ffe0c977..967f501e 100755
--- a/scripts/ci/github-install-macos-x64-python-deps.sh
+++ b/scripts/ci/github-install-macos-x64-python-deps.sh
@@ -45,7 +45,8 @@ export CC="${CC:-clang -arch x86_64}"
export CXX="${CXX:-clang++ -arch x86_64}"
export CFLAGS="${CFLAGS:--arch x86_64}"
-uv sync --frozen --group dev --python "$PY_X64"
+# Host is arm64; without --python-platform uv still resolves macOS wheels for aarch64.
+uv sync --frozen --group dev --python "$PY_X64" --python-platform x86_64-apple-darwin
arch -x86_64 "${UV_PROJECT_ENVIRONMENT}/bin/python" scripts/patch_lxst_pyogg_ogg_ctypes.py
arch -x86_64 "${UV_PROJECT_ENVIRONMENT}/bin/python" -c "


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────